<!-- 设备保养记录 -->

<template>
  <WebTable path="maintenance" auto>
    <RowIndex />

    <RowTime label="保养时间" bind="handleTime" width="auto" />

    <RowText label="负责人" bind="handleUserName" :width="120" />

    <RowStatus label="保养结果" bind="resultStatus" />

    <RowText label="情况描述" bind="resultDesc" :minWidth="200" />

    <RowImage label="保养图片" bind="fileList" pathKey="fileUrl" :width="120" />

    <RowOperate :btns="['show']" :onShow="(row) => windowDetail(row.planTaskId)" :width="120" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import DeviceInspection from '../DeviceInspection'

// ============================== 导出组件 ============================== //

export default CORE.extend(DeviceInspection, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'DeviceMaintenance',
})
</script>
